package com.eastfair.notice.dto;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.eastfair.core.base.entity.Entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import lombok.Data;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**
 * <p>
 * 实体类
 * 站内信
 * </p>
 *
 * @author liuxiaobai
 * @since 2021-08-30
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value = "NoticeSaveDTO", description = "站内信")
public class NoticeSaveDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 项目ID
     */
    @ApiModelProperty(value = "项目ID")
    private Long projectId;
    /**
     * 展会ID
     */
    @ApiModelProperty(value = "展会ID")
    private Long exhibitionId;
    /**
     * 站内信类型
     */
    @ApiModelProperty(value = "站内信类型")
    @Size(max = 64, message = "站内信类型长度不能超过64")
    private String noticeType;
    /**
     * 业务类型 用于跳转
     */
    @ApiModelProperty(value = "业务类型 用于跳转")
    @Size(max = 32, message = "业务类型 用于跳转长度不能超过32")
    private String businessType;
    /**
     * 业务ID 用于跳转
     */
    @ApiModelProperty(value = "业务ID 用于跳转")
    private Long businessId;
    /**
     * 接收人类型（EMPLOYEE、VISITOR）
     */
    @ApiModelProperty(value = "接收人类型（EMPLOYEE、VISITOR）")
    @Size(max = 32, message = "接收人类型（EMPLOYEE、VISITOR）长度不能超过32")
    private String receiveType;
    /**
     * 接收人ID
     */
    @ApiModelProperty(value = "接收人ID")
    private Long receiveId;
    /**
     * 中文内容
     */
    @ApiModelProperty(value = "中文内容")
    @Size(max = 65535, message = "中文内容长度不能超过65,535")
    private String content;
    /**
     * 英文内容
     */
    @ApiModelProperty(value = "英文内容")
    @Size(max = 65535, message = "英文内容长度不能超过65,535")
    private String enContent;
    /**
     * 是否已读
     */
    @ApiModelProperty(value = "是否已读")
    private Boolean readStatus;
    /**
     * 排序 - 预留
     */
    @ApiModelProperty(value = "排序 - 预留")
    private Integer sequence;
    /**
     * 是否生效(默认1：可用 0:不可用)
     */
    @ApiModelProperty(value = "是否生效(默认1：可用 0:不可用)")
    private Integer isEnable;
    /**
     * 是否删除(默认0：未删除 1:已删除)
     */
    @ApiModelProperty(value = "是否删除(默认0：未删除 1:已删除)")
    private Integer isDelete;

}
